﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 公司
    /// </summary>
    [SugarTable("Companies")]
    public class Companies
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int CompanyId { get; set; }

        /// <summary>
        /// 组织编码
        /// </summary>
        public string CompanyCode { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>
        public string ComapnyName { get; set; }

        /// <summary>
        /// 组织英文名称
        /// </summary>
        public string CompanyNameEn { get; set; }

        /// <summary>
        /// 城市Id
        /// </summary>
        public int? City { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; }

        /// <summary>
        /// Address
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// ContactUser1
        /// </summary>
        public string ContactUser1 { get; set; }

        /// <summary>
        /// ContactUser2
        /// </summary>
        public string ContactUser2 { get; set; }

        /// <summary>
        /// PhoneNumber1
        /// </summary>
        public string PhoneNumber1 { get; set; }

        /// <summary>
        /// PhoneNumber2
        /// </summary>
        public string PhoneNumber2 { get; set; }

        /// <summary>
        /// Fax
        /// </summary>
        public string Fax { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public Guid? CompanyManager { get; set; }

        /// <summary>
        /// CompanyType
        /// </summary>
        public int? CompanyType { get; set; }

        /// <summary>
        /// Domain
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        /// 父级
        /// </summary>
        public int? UpperId { get; set; }

        /// <summary>
        /// 层级
        /// </summary>
        public int? Level { get; set; }

        /// <summary>
        /// SortCode
        /// </summary>
        public int? SortCode { get; set; }

        /// <summary>
        /// ShowInMDS
        /// </summary>
        public string ShowInMDS { get; set; }

        /// <summary>
        /// 流程组织级别
        /// </summary>
        public int? ProcessLevel { get; set; }

        /// <summary>
        /// 流程组织类型
        /// </summary>
        public int? ProcessType { get; set; }

        /// <summary>
        /// 组织名称全路径
        /// </summary>
        public string FullPathText { get; set; }

        /// <summary>
        /// 组织全路径
        /// </summary>
        public string FullPathCode { get; set; }

        /// <summary>
        /// F1
        /// </summary>
        public string F1 { get; set; }

        /// <summary>
        /// F2
        /// </summary>
        public string F2 { get; set; }

        /// <summary>
        /// F3
        /// </summary>
        public string F3 { get; set; }

        /// <summary>
        /// F4
        /// </summary>
        public string F4 { get; set; }

        /// <summary>
        /// F5
        /// </summary>
        public string F5 { get; set; }
    }
}